課程名稱 |
計算機程式 Computer Programming |
開課學期 |
110-1 |
授課對象 |
電機工程學系 |
授課教師 |
林宗男 |
課號 |
EE1004 |
課程識別碼 |
901 10210 |
班次 |
03 |
學分 |
3.0 |
全/半年 |
半年 |
必/選修 |
必修 |
上課時間 |
星期二6(13:20~14:10)星期三8,9(15:30~17:20) |
上課地點 |
博理113博理113 |
備註 |
數學系15名。需同時選修計算機程式設計實驗。 限本系所學生(含輔系、雙修生) 總人數上限:70人 |
Ceiba 課程網頁 |
http://ceiba.ntu.edu.tw/1101_Programming |
課程簡介影片 |
|
核心能力關聯 |
核心能力與課程規劃關聯圖 |
課程大綱
|
為確保您我的權利,請尊重智慧財產權及不得非法影印
|
課程概述 |
Python是一門十分簡潔、高效率的程式語言;且其學習曲線平緩,網路上的學習資源非常多,很適合程式新手入門。雖然適合初學者,不過python的開源套件也非常多,可以深入各領域的研究。例如最近發展中的人工智慧所使用的深度學習方法,Python所擁用的套件在所有的程式語言中幾乎是最完善的。本課程希望以深入淺出的方式,帶領學生從python入門,最後能夠利用程式碼來解決各領域的專業問題。
本課程以物件導向(Object-oriented programming)概念為主軸介紹程式語言。 本課程會以 Python 語言為主要介紹OOP的語言。 Python 語言強調其 "code readability". 對於同樣的問題 ,用 Python 來解決的程式會比用 c/c++ 來的簡單。 根據最新統記指出,Python 是美國頂尖大學裡最常用的入門程式語言。
本課程以Python3 程式語言介紹OOP的概念並比較Python與C++的不同之處,此外還會利用vPython以3D模擬的方式模擬物體運動。
除了正課上課時間,本課程搭配於每個星期二晚上的計算機程式設計實驗。
1. Intro. to Python and Class
2.Control structure
3.List, Set, Dict
4.Strings
5.Functions
6.Classes and data abstraction
7.Operator overloading
8.Inheritance
9.Polymorphism |
課程目標 |
能夠熟練寫Python程式碼,並以此來解決問題。 |
課程要求 |
本課程完全不需要程式語言的先備能力。但修課同學必須注意,在學期開始之前必須要先安裝好程式環境,並至網路資源(Codecademy)學習Python。之後還要依照Ceiba上提供的Vpython教材練習。 |
預期每週課後學習時數 |
|
Office Hours |
|
指定閱讀 |
待補 |
參考書目 |
教科書 :
[1] How to Think Like a Computer Scientist
http://www.greenteapress.com/thinkpython/thinkCSpy.pdf
[2] Python Tutorial
https://docs.python.org/2/tutorial/
[3] Problem Solving with Algorithms and Data Structures
http://interactivepython.org/runestone/static/pythonds/index.html
[3] Problem Solving with Algorithms and Data Structures
http://interactivepython.org/runestone/static/pythonds/index.html
網路學習資源:
[1]Codecademy
https://www.codecademy.com/catalog/language/python |
評量方式 (僅供參考) |
|
週次 |
日期 |
單元主題 |
第1週 |
9/22 |
Introduction and environment setup |
第2週 |
9/28,9/29 |
Object, Conditional statement, While loop |
第3週 |
10/05,10/06 |
Function, For loop |
第4週 |
10/12,10/13 |
Data structure (string, tuple, list, dictionary) - HW1 Release |
第5週 |
10/19,10/20 |
Basic I/O |
第6週 |
10/26,10/27 |
Algorithm |
第7週 |
11/02,11/03 |
Function and recursive - HW2 Release |
第8週 |
11/09,11/10 |
Function decorator |
第9週 |
11/16,11/17 |
Package and module |
第10週 |
11/23,11/24 |
Object-Oriented-Programming |
第11週 |
11/30,12/01 |
Object-Oriented-Programming |
第12週 |
12/07,12/08 |
Object-Oriented-Programming - HW3 Release |
第13週 |
12/14,12/15 |
Computer vision |
第14週 |
12/21,12/22 |
Network programming |
第15週 |
12/28,12/29 |
Network programming |
第16週 |
1/04,1/05 |
GUI programming |
第17週 |
1/11,1/12 |
Final Project Demo |
第18週 |
1/18,1/19 |
Final Project Demo |
|